/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hhx.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 单表生成Entity
 * @author zmy
 * @version 2019-04-10
 */
public class HhxFocus extends DataEntity<HhxFocus> {
	
	private static final long serialVersionUID = 1L;
	private String userid;		// 关注人id
	private String focusid;		// 被关注人id
	
	public HhxFocus() {
		super();
	}

	public HhxFocus(String id){
		super(id);
	}

	@Length(min=0, max=32, message="关注人id长度必须介于 0 和 32 之间")
	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}
	
	@Length(min=0, max=32, message="被关注人id长度必须介于 0 和 32 之间")
	public String getFocusid() {
		return focusid;
	}

	public void setFocusid(String focusid) {
		this.focusid = focusid;
	}
	
}